package com.skywolf.chem.usercenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.skywolf.chem.usercenter.entity.Permission;
import com.skywolf.chem.usercenter.pojo.vo.PermissionVO;

import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author
 * @since 2019-12-02
 */
public interface IPermissionService extends IService<Permission> {

    List<PermissionVO> listPermissionsTree();

    List<PermissionVO> listUserPermissions(Long userId);
}
